package com.linln.modules.system.dto;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "express_user")
public class ExpressDto {

    @Id
    private String id;

    @Indexed
    private String orderId;

    private String userId;

    private Object content;

    private long createStamp;

    private long expireStamp;

    private boolean re;

    private String info;

    private boolean end;

    private String expressCodes;

    public String getExpressCodes() {
        return expressCodes;
    }

    public ExpressDto setExpressCodes(String expressCodes) {
        this.expressCodes = expressCodes;
        return this;
    }

    public boolean isEnd() {
        return end;
    }

    public void setEnd(boolean end) {
        this.end = end;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public boolean isRe() {
        return re;
    }

    public void setRe(boolean re) {
        this.re = re;
    }

    public String getId() {
        return id;
    }

    public ExpressDto setId(String id) {
        this.id = id;
        return this;
    }

    public String getOrderId() {
        return orderId;
    }

    public ExpressDto setOrderId(String orderId) {
        this.orderId = orderId;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public ExpressDto setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    public long getCreateStamp() {
        return createStamp;
    }

    public void setCreateStamp(long createStamp) {
        this.createStamp = createStamp;
    }

    public long getExpireStamp() {
        return expireStamp;
    }

    public void setExpireStamp(long expireStamp) {
        this.expireStamp = expireStamp;
    }
}
